package com.neocean.archive.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 荣誉对象 honor_honor
 * 
 * @author husb
 * @date 2021-11-16
 */
public class Honor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 荣誉id */
    private Long honorId;

    /** 名称 */
    @Excel(name = "名称")
    private String honorName;

    /** 简称 */
    @Excel(name = "简称")
    private String alternativeName;

    /** 编码 */
    @Excel(name = "编码")
    private String honorCode;

    /** 查询码 */
    @Excel(name = "查询码")
    private String lookup;

    /** 种类 */
    @Excel(name = "种类")
    private Long category;

    /** 级别 */
    @Excel(name = "级别")
    private Long level;

    /** 类型 */
    @Excel(name = "类型")
    private String label;

    /** 获奖者 */
    @Excel(name = "获奖者")
    private String winner;

    /** 获奖者 */
    @Excel(name = "获奖者Id")
    private Long winnerId;

    /** 获奖部门 */
    @Excel(name = "获奖部门")
    private String department;

    /** 获奖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardedAt;

    /** 颁奖单位 */
    @Excel(name = "颁奖单位")
    private String awardedBy;

    /** 荣誉描述 */
    @Excel(name = "荣誉描述")
    private String description;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private Long coverId;

    /** 荣誉标签 */
    @Excel(name = "荣誉标签")
    private String tags;

    /** 荣誉图片 */
    @Excel(name = "荣誉图片")
    private String pictures;

    /** 荣誉附件 */
    @Excel(name = "荣誉附件")
    private String attachments;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private Integer deleted;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long displayOrder;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新者 */
    @Excel(name = "更新者")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setHonorId(Long honorId) 
    {
        this.honorId = honorId;
    }

    public Long getHonorId() 
    {
        return honorId;
    }
    public void setHonorName(String honorName) 
    {
        this.honorName = honorName;
    }

    public String getHonorName() 
    {
        return honorName;
    }
    public void setAlternativeName(String alternativeName) 
    {
        this.alternativeName = alternativeName;
    }

    public String getAlternativeName() 
    {
        return alternativeName;
    }
    public void setHonorCode(String honorCode) 
    {
        this.honorCode = honorCode;
    }

    public String getHonorCode() 
    {
        return honorCode;
    }
    public void setLookup(String lookup) 
    {
        this.lookup = lookup;
    }

    public String getLookup() 
    {
        return lookup;
    }
    public void setCategory(Long category) 
    {
        this.category = category;
    }

    public Long getCategory() 
    {
        return category;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }
    public void setWinner(String winner) 
    {
        this.winner = winner;
    }

    public String getWinner() 
    {
        return winner;
    }

    public void setWinnerId(Long winnerId)
    {
        this.winnerId = winnerId;
    }

    public Long getWinnerId()
    {
        return winnerId;
    }

    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setAwardedAt(Date awardedAt) 
    {
        this.awardedAt = awardedAt;
    }

    public Date getAwardedAt() 
    {
        return awardedAt;
    }
    public void setAwardedBy(String awardedBy) 
    {
        this.awardedBy = awardedBy;
    }

    public String getAwardedBy() 
    {
        return awardedBy;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCoverId(Long coverId) 
    {
        this.coverId = coverId;
    }

    public Long getCoverId() 
    {
        return coverId;
    }
    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }
    public void setAttachments(String attachments) 
    {
        this.attachments = attachments;
    }

    public String getAttachments() 
    {
        return attachments;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setDisplayOrder(Long displayOrder) 
    {
        this.displayOrder = displayOrder;
    }

    public Long getDisplayOrder() 
    {
        return displayOrder;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("honorId", getHonorId())
            .append("honorName", getHonorName())
            .append("alternativeName", getAlternativeName())
            .append("honorCode", getHonorCode())
            .append("lookup", getLookup())
            .append("category", getCategory())
            .append("level", getLevel())
            .append("label", getLabel())
            .append("winner", getWinner())
            .append("winnerId", getWinnerId())
            .append("department", getDepartment())
            .append("awardedAt", getAwardedAt())
            .append("awardedBy", getAwardedBy())
            .append("description", getDescription())
            .append("coverId", getCoverId())
            .append("tags", getTags())
            .append("pictures", getPictures())
            .append("attachments", getAttachments())
            .append("status", getStatus())
            .append("deleted", getDeleted())
            .append("displayOrder", getDisplayOrder())
            .append("createdBy", getCreatedBy())
            .append("createdAt", getCreatedAt())
            .append("updatedBy", getUpdatedBy())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }

    public String getPictures() {
        return pictures;
    }

    public void setPictures(String pictures) {
        this.pictures = pictures;
    }
}
